<input type="hidden" name="reply_id" value="{$reply['id']}" />
<div class="alert alert-block alert-new">
	
	<h4 class="alert-heading">关键字回复设置</h4>
	<table>
		<tbody>
            <tr>
                <th>选择投票活动</th>
                <td>
                    <select name="vid" id="vid">
                        {loop $votes $vote}
                        <option {if $reply['vid']==$vote['id']} selected="selected"{/if} value="{$vote['id']}" >{$vote['title']}</option>
                        {/loop}
                    </select>
                    <div class="help-block">请先添加投票活动后在此选择相应展示</div>
                </td>
            </tr>
            <tr>
                <th>投票会话时长</th>
                <td>
                    <input type="text" name="expire" value="{$reply['expire']}" class="span4"/>
                    <div class="help-block">单位 ：秒，建议设置600</div>
                </td>
            </tr>
            <tr>
                <th>退出投票关键字</th>
                <td>
                    <input type="text" name="exit_key" value="{$reply['exit_key']}" class="span4"/>
                    <div class="help-block">如：退出投票</div>
                </td>
            </tr>
            <tr>
                <th>活动触发次数</th>
                <td>
                    {$reply['use_count']} 次
                    <div class="help-block">关键字被触发次数统计</div>
                </td>
            </tr>
		</tbody>
	</table>	
</div>
<script type="text/javascript">
    $('#enable, #disable').click(function () {
        setTimeout("history.go(0)", 500);
    });
</script>